/*通用css*/
html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;

    overflow-x: hidden;
}

body {
    background-color: #1a1a1c;
}

::-webkit-scrollbar {
    width: 8px;
    background-color: #F5F5F5;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #2e2e34;
}

/*头部*/
.head {
    width: 100%;
    height: 76px;
    background: #36363c;
    position: fixed;
    top: 0;
    left: 0;
    border-bottom: 2px solid #0a0a0a;
    z-index: 999;
}

.head > div {
    height: 100%
}

#logo {
    margin: 22px 0 0 25px;
    width: 220px;
}

.search-box {
    position: relative;
    display: inline-block;
    height: 60px;

    padding-right: 35px;

}

.search-box #search {
    background: #1a1a1c;
    border: 1px solid #0a0a0a;
    border-radius: 50px;
    width: 250px;
    height: 32px;
    margin-top: 22px;
    padding: 0 15px;
    font-size: 18px;
    color: #878787;
}

.search-box > i {
    width: 22px;
    height: 22px;
    position: absolute;
    top: 28px;
    cursor: pointer;
}

.search-box .icon-search {
    background: url("../images/icon/icon-search.png") no-repeat;
    left: 250px;
}

.search-box .icon-add-paper {
    background: url("../images/icon/icon-add-paper-origin.png") no-repeat;
    left: 295px;
}

.search-box .icon-add-paper:hover {
    background: url("../images/icon/icon-add-paper.png") no-repeat;
}

.search-box .icon-setting {
    background: url("../images/icon/icon-setting.png") no-repeat;
    left: 330px;
}

#username {
    color: #e8e8e8;
    font-size: 19px;
    width: 80px;
    margin-left: 80px;
    display: inline;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 80px;
}

.btn1 {
    border: 1px solid #0a0a0a;
    background: #4d4d52;
    border-radius: 50px;
    color: #e8e8e8;
    height: 40px;
    padding: 0 20px;
    margin-right: 10px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.btn1.selected {
    background: #e8e8e8;
    color: #4d4d52;
    cursor: auto;
}
